<!doctype html>
<html lang="zh-CN" xml:lang="zh-CN">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta charset="UTF-8" />
<title>小米商城 - JSP项目</title>
<meta name="description"
	content="JSP项目-小米商城仿制-- 努力才有结果 加油 --" />
<meta name="keywords" content="感动自己" />
<meta name="viewport" content="width=1226" />
<meta http-equiv="x-dns-prefetch-control" content="on">
<link rel="shortcut icon" href="../img/favicon.ico" type="image/x-icon" />
<link rel="icon" href="../img/favicon.ico" type="image/x-icon" />
<meta http-equiv="Cache-Control" content="no-transform " />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="stylesheet" href="../css/base.min.css" />
<link rel="stylesheet" href="../css/index.min.css" />
<script type="text/javascript">var _head_over_time = (new Date()).getTime();</script>
<script type="text/javascript" src="../js/jquery-3.3.1.min.js"></script>
<script type="text/javascript">
$(function (){
$("#J_miniCartTrigger").hover(function(){
    $("#J_miniCartMenu").show();
},function(){ 
    $("#J_miniCartMenu").hide();
});
}); 
//回顶部js代码
window.onload = function() {
    var obtn = document.getElementById('btn');
    var timer = null;
    var isTop = true;
    //获取页面的可视窗口高度
    var clientHeight = document.documentElement.clientHeight || document.body.clientHeight;
    //滚动条滚动时触发
    window.onscroll = function(){
        //在滚动的时候增加判断
        var osTop = document.documentElement.scrollTop || document.body.scrollTop;//特别注意这句，忘了的话很容易出错
        if (osTop >= clientHeight) {
            obtn.style.display = 'block';
        }else{
            obtn.style.display = 'none';
        }

        if (!isTop) {
            clearInterval(timer);
        }
        isTop = false;
    };
    btn.onclick = function(){
        //设置定时器
        timer = setInterval(function(){
            //获取滚动条距离顶部的高度
            var osTop = document.documentElement.scrollTop || document.body.scrollTop;  //同时兼容了ie和Chrome浏览器
            //减小的速度
            var isSpeed = Math.floor(-osTop / 6);
            document.documentElement.scrollTop = document.body.scrollTop = osTop + isSpeed;
            isTop = true;
            //判断，然后清除定时器
            if (osTop == 0) {
                clearInterval(timer);
            }
        },15);  
    };
}
</script>
</head>
<body>
<!-- 开始头部 -->
<div class="site-topbar">
		<div class="container">
			<div class="topbar-nav">
				<a rel="nofollow" href="../html/zhuye.html">小米商城</a>
			</div>
			<div class="topbar-cart" id="J_miniCartTrigger">
				<a rel="nofollow" class="cart-mini" id="J_miniCartBtn"
					href="../jsp_wlz/gouwucheno.jsp"><i class="iconfont">&#xe60c;</i>购物车<span
					class="cart-mini-num J_cartNum"></span></a>
				<div class="cart-menu" id="J_miniCartMenu">
				<div class="loading">
					<div class="loader">
					</div>
				</div>
				</div>
				</div>
			</div>
			<div class="topbar-info" id="J_userInfo">
				<a rel="nofollow" class="link" href="../html/login.jsp">登录</a> 
						<span class="sep">|</span> 
				<a rel="nofollow" class="link" href="../html/register.jsp">注册</a>
			</div>
		</div>
	</div>
<!-- 结束头部 -->
	<!-- 首页下面的导航栏 -->
		<iframe src="../viewwlz/Searchandbelow.jsp" scrolling="no" frameborder="0"
			style="width: 100%;"
			onload="this.height=this.contentWindow.document.documentElement.scrollHeight">
		</iframe>
		<!-- 结束首页下面的导航栏 -->
		<!-- 开始轮播图 -->
		<iframe src="../viewwlz/Rotary_sowing.jsp" scrolling="no" frameborder="0"
			style="width: 100%;"
			onload="this.height=this.contentWindow.document.documentElement.scrollHeight">
		</iframe>
		<!-- 结束轮播图 -->
		<!-- 展示部分 -->
		<iframe src="../viewwlz/bodyshop.jsp" scrolling="no" frameborder="0"
			style="width: 100%;"
			onload="this.height=this.contentWindow.document.documentElement.scrollHeight">
		</iframe>
		<!-- 结束展示部分 -->
		<!-- 右侧栏入口按钮 & 返回顶部 -->
		<div class="home-right-bar J_homeRightBar home-right-bar-show-s home-right-bar-show-s428">
    <div class="bar-s">
        <div id="J_rightbar_s">
         <ul class="bar-top">
              <li class="bar-sort bar-sort-qr bar-s-qr"> 
              <a href="" class="bar-link" > 
              <div class="bar-img">
              	 <img class="original-img" src="../img/sj_an.png"> 
              	 <img class="hover-img" src="../img/sj_light.png"> 
              </div> 
              <div class="bar-pop"> 
              	 <div class="bar-pop-content"> 
              	 <img src="../img/sj_ewm.png" class="bar-pop-qr"> 
              	 <p class="bar-pop-text">手机扫一扫一分赢好礼</p>
              	 </div> 
              	 <div class="bar-arrow"></div> 
              </div> 
              </a> 
              </li>        
              <li class="bar-sort"> 
              <a href="../jsp/grzz.jsp" class="bar-link"  > 
              <div class="bar-img"> 
              <img class="original-img" src="../img/grzz_an.png"> 
              <img class="hover-img" src="../img/grzzlight.png"> 
              </div> 
              <div class="bar-pop"> 
              <div class="bar-arrow"></div> 
              <p class="bar-pop-text">个人中心</p> 
              </div> 
              </a> 
              </li>
              <li class="bar-sort"> 
              <a href="../jsp/Customer_service.jsp" class="bar-link" > 
              <div class="bar-img"> 
              <img class="original-img" src="../img/kf_an.png">
              <img class="hover-img" src="../img/kf_light.png"> 
              </div>
               <div class="bar-pop"> 
               <div class="bar-arrow"></div>
               <p class="bar-pop-text">联系客服</p>
               </div>
               </a>
               </li>                                
               <li class="bar-sort bar-s-car"> 
               <a href="../jsp_wlz/gouwucheno.jsp" class="bar-link" > 
               <div class="bar-img"> 
               <img class="original-img" src="../img/cart_an.png"> 
               <img class="hover-img" src="../img/cart_light.png"> 
                <span class="bar-car hidden J_barSMumicon J_homeRightbarCarNum"></span>  </div> 
                <div class="bar-pop"> 
                <div class="bar-arrow"></div> 
                <p class="bar-pop-text">购物车（<span class="J_barSMum J_homeRightbarCarNum">0</span>）</p> 
                </div> 
                </a> 
                </li> 
                </ul> 
                </div>
        <a href="javascript:;" class="bar-totop bar-s-totop bar-link bar-sort J_barToTop J_barToTopS" id="btn" style="display: none;">
            <div class="bar-img">
                <img class="original-img" src="../img/totop.png">
                <img class="hover-img" src="../img/totop_hover.png">
            </div>
            <div class="bar-pop">
                <div class="bar-arrow"></div>
                <p class="bar-pop-text">回顶部</p>
            </div>
        </a>
    </div>
</div>
		
		<!-- 结束右侧栏入口按钮 & 返回顶部 -->
		<!-- 底部公用开始 -->
		<iframe src="../viewwlz/bottom.jsp" scrolling="no" frameborder="0"
			style="width: 100%;"
			onload="this.height=this.contentWindow.document.documentElement.scrollHeight">
		</iframe>
		<!-- 底部公用结束 -->
</body>
</html>
